<?php
require_once('libraries/load.php');

define('CONFIG', true); // Define for security

$config = new Config();

$config->db = new Database($config);

$page = new Page($config);

$config->page = $page;

$smarty = new Smarty();
$smarty->template_dir = 'templates/';
$smarty->compile_dir = 'templates/templates_c/';

$config->smarty = $smarty;
?>